// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import i18n from './i18n/i18n';
Vue.use(ElementUI)
import axios from './axios'
Vue.prototype.$axios = axios;
import qs from 'qs'
Vue.prototype.$Qs = qs;

// import Mock from './mockJs'
Vue.config.productionTip = false

Vue.prototype.$lang = i18n.locale

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  i18n,
  components: { App },
  template: '<App/>'
})
